////////////////////////////////////////////////////////////////////////////////
// Copyright 2006 CORE Solutions Limited
// All rights reserved.
// PROPRIETARY AND CONFIDENTIAL INFORMATION.
// Use is subject to license terms.
//
// FUNCTION ID      :   TabInfo.java
// AUTHOR           :   ric.yik
// DATE CREATE      :   2006/5/4
// DESCRIPTION      :   
//                  :   
//                  :   
//                  :   
//
// MODIFICATION HISTORY:
// DATE         AUTHOR          VERSION NO.         COMMENT
// -----------  --------------  ------------------  -------------------
// 2006/5/4      ric.yik         1.0                 source is created.
//
//
//
////////////////////////////////////////////////////////////////////////////////

package com.erp.app.util.web;

public class TabInfo {

    private int folderIdx;

    private String pageEvent;

    private String title;

    private boolean hidden;

    private String tabJsp;

    public int getFolderIdx() {
        return folderIdx;
    }

    public TabInfo setFolderIdx(int folderIdx) {
        this.folderIdx = folderIdx;
        return this;
    }

    public String getPageEvent() {
        return pageEvent;
    }

    public TabInfo setPageEvent(String pageEvent) {
        this.pageEvent = pageEvent;
        return this;
    }

    public String getTitle() {
        return title;
    }

    public TabInfo setTitle(String title) {
        this.title = title;
        return this;
    }

    public boolean isHidden() {
        return hidden;
    }

    public TabInfo setHidden(boolean hidden) {
        this.hidden = hidden;
        return this;
    }

    public String getPageEventSrc() {
        return String.valueOf(this.getFolderIdx() + 1);
    }

    public String getTabJsp() {
        return tabJsp;
    }

    public TabInfo setTabJsp(String tabJsp) {
        this.tabJsp = tabJsp;
        return this;
    }

}
